﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Master/Administrator.Master"
    AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="PhuLeBooze.Views.News.NewsList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdministratorTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdministratorHead" runat="server">
    <script src="../../../ckeditor/ckeditor.js"></script>
    <script src="../../../ckfinder/ckfinder.js"></script>

    <link href="../../../Js/Jquery/plugins/uploadify/jquery.uploadify.css" rel="stylesheet" />
    <script src="../../../Js/Jquery/plugins/uploadify/jquery.uploadify.js" type="text/javascript"></script>

    <link href="Css/admin.news.list.css" rel="stylesheet" />
    <script src="Js/admin.news.list.js" type="text/javascript"></script>

    <style>
        .cke_skin_v2 input.cke_dialog_ui_input_text, .cke_skin_v2 input.cke_dialog_ui_input_password {
            background-color: white;
            border: none;
            padding: 0;
            width: 100%;
            height: 14px;
            /* new lines */
            position: relative;
            z-index: 9999;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="AdministratorBody" runat="server">
    <div id="AdminToolBar">
        <div class="cssFloatRight">
            <div class="cssFloatLeft" style="margin-right: 20px;">
                <img id="imgUserAdd" title="Add" src="../../Images/24x24/add.png" />
                <img id="imgUserEdit" title="Edit" src="../../Images/24x24/edit.png" />
                <img id="imgUserDel" title="Delete" src="../../Images/24x24/delete.png" />
                <img id="imgUserFilter" title="Filter" src="../../Images/24x24/filter.png" />
                <img id="imgUserExport" title="Export" src="../../Images/24x24/export-excel.png" />
            </div>
        </div>
    </div>
    <div class="cssClearBoth">
    </div>
    <table id="GridContents">
    </table>
    <div id="GridPages">
    </div>
    <div id="FormEdit" class="cssForm" style="display: none;">
        <div style="display: none;">
            <label>
                ID</label>
            <input type="text" id="txtID" data-field="ID" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Mã bài viết</label>
            <input type="text" id="txtCode" data-field="Code" class="ui-widget-content ui-corner-all CodeNews" readonly="readonly" />
        </div>
        <div class="FloatRight">
            <select id="cboCategory" data-field="CategoryID" style="display: none;">
                <asp:Literal ID="lblOptionCate" runat="server"></asp:Literal>
            </select>
            <label>
                ZOrder</label>
            <select id="cboZOrder" data-field="ZOrder">
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
                <option value="9">9</option>
                <option value="10" selected="selected">10</option>
            </select>
        </div>
        <div class="new-row">
            <%--  <label>
                Danh mục</label>
             <asp:DropDownList runat="server" ID="ddlCategory" data-field="Category" CssClass="ui-widget-content ui-corner-all" ClientIDMode="Static"></asp:DropDownList>--%>

            <label>
                Tên bài viết</label>
            <input type="text" id="txtName" data-field="Title" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="FloatRight" style="display: none">
            <label>
                Clound Tags</label>
            <asp:DropDownList runat="server" ID="ddlCloundTags" data-field="Tags" multiple="multiple"
                CssClass="ui-widget-content ui-corner-all" ClientIDMode="Static">
            </asp:DropDownList>
        </div>
        <div class="new-row" style="display: none">
            <label>
                Dự án</label>
            <select id="cboPeojectID" data-field="ProjectID">
                <asp:Literal ID="lblProject" runat="server"></asp:Literal>
            </select>
        </div>

        <div class="FloatRight" style="width: 300px">
            <label>
                Ngày viết</label>
            <input type="text" id="txtStartDate" data-field="WritenDate" role="datepicker" class="ui-widget-content ui-corner-all" />
        </div>
        <div class="new-row">
            <label>
                Thumbnail</label>
            <input type="text" id="txtThumbnail" data-field="ThumbnailImage" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectThumbnail">
                Chọn</button>
        </div>

        <div class="FloatRight" style="float: left; margin-left: 68px;">
            <label>
                Kích hoạt</label>
            <input type="checkbox" id="txtStatus" data-field="Status" class="ui-widget-content ui-corner-all" />
        </div>

        <div class="new-row" style="display: none">
            <label>
                Images</label>
            <input type="text" id="txtImage" data-field="Image" class="ui-widget-content ui-corner-all" />
            <button type="button" id="btnSelectImg">
                Chọn</button>
        </div>

        <div class="FloatRightStatus" style="display: none">

            <label>
                Tin nổi bật</label>
            <input type="checkbox" id="txtSpecial" data-field="IsSpecial" class="ui-widget-content ui-corner-all" />
        </div>

        <div class="new-row">
            <label>
                Intro</label>
            <textarea id="txtIntro" data-field="Summary" class="ui-widget-content ui-corner-all"></textarea>
        </div>
        <div class="new-row">
            <label>
                Nội dung</label>
            <textarea id="txtFullContent" data-field="Content" class="ui-widget-content ui-corner-all"></textarea>
        </div>
    </div>
    <div id="FormFilter" class="cssForm" style="display: none;">
        <div class="new-row">
            <label>
                Tên bài viết</label>
            <input type="text" id="Text1" data-field="Title" class="ui-widget-content ui-corner-all" />
        </div>

        <div class="new-row">
            <label>
                Danh mục</label>
            <%--   <asp:DropDownList runat="server" ID="ddlCategory" data-field="Category" CssClass="ui-widget-content ui-corner-all" ClientIDMode="Static"></asp:DropDownList>--%>
            <select id="cboCategoryID2" data-field="CategoryID">
                <asp:Literal ID="lblOptionCate2" runat="server"></asp:Literal>
            </select>
        </div>
        <div>
            <label>
                Clound Tags</label>
            <asp:DropDownList runat="server" ID="ddlTags" data-field="Tags" multiple="multiple"
                CssClass="ui-widget-content ui-corner-all" ClientIDMode="Static">
            </asp:DropDownList>
        </div>
        <div>
            <label>
                Trạng Thái</label>
            <select data-field="Status" multiple="multiple">
                <option value="-100">...</option>
                <option value="0">Đang hoạt động</option>
                <option value="-1">Tạm ngưng hoạt động</option>
                <option value="-1">Đã xóa</option>
            </select>
        </div>
    </div>
</asp:Content>
